package com.Lyy.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Course {
    private String CourseName;
    private String CourseScore;


    @Override
    public String toString() {
        return "Course{" +
                "CourseName='" + CourseName + '\'' +
                ", CourseScore='" + CourseScore + '\'' +
                '}';
    }
    public void cc(){
        System.out.println(this.CourseName+"\n"+this.CourseScore);
    }
}
